// created by noellynch
// Jun 2, 2009

package com.sceneworker.app.globals.cacheobjects;

import java.util.ArrayList;

import com.jme.image.Texture;
import com.jme.renderer.TextureRenderer;
import com.jme.scene.Spatial;

public class RenderToTextureCacheObject implements ISceneWorkerCacheObject {
	public	TextureRenderer				mcl_rtt;
	public	Texture						mcl_texture;
	public	Spatial						mcl_scenes = null;
	
	public	RenderToTextureCacheObject(TextureRenderer cl_rtt, Texture cl_texture) {
		mcl_rtt = cl_rtt;
		mcl_texture = cl_texture;
		
	}
	
	public	RenderToTextureCacheObject(TextureRenderer cl_rtt, Texture cl_texture, Spatial cl_sp) {
		this(cl_rtt, cl_texture);
		mcl_scenes = cl_sp;
	}

	public String getUniqueID() {
		return "rtt" + mcl_texture.hashCode();
	}

	public Object getValue() {
		return this;
	}
	
	
}
